import { ajax } from '@/utils'

const baseUrl = '/common'

export default {
  getUserInfo(): Promise<IGetUserInfoRes> {
    return ajax.get(`${baseUrl}/userInfo`)
  }
}
